<div class="layuimini-container" style="background-color:#fff;">
    <form id="app-form" class="layui-form layuimini-form" autocomplete="off">
<!--        <div class="layui-form-item">-->
<!--            <label class="layui-form-label">商品分类</label>-->
<!--            <div class="layui-input-block">-->
<!--                <select name="cate_id" lay-verify="required" data-select="{:url('picture.cate/index')}" data-fields="id,title" data-value="{$row.cate_id|default='1'}">-->
<!--                </select>-->
<!--            </div>-->
<!--        </div>-->
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input
                   type="text"
                   name="title"
                   data-role="select-box"
                   data-select-box-initUrl='{"navUrl":"/api/group","leftUrl":"/api/group_member", "memberUrl": "/api/member_list"}'
                   data-select-cb="f"
                   class="layui-input"
                   lay-verify="required"
                   placeholder="请输入名称"
                />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">介绍</label>
            <div class="layui-input-block">
                <textarea name="infomation" class="layui-textarea" placeholder="请输入介绍"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">小图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="url_small" readonly class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传小图" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="url_small" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">大图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="url_big" readonly class="layui-input layui-col-xs6" lay-verify="required" placeholder="请上传大图" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="url_big" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                </div>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>
    </form>
</div>
<script>
    function f(re) {
        console.log('1212', re);
    }
</script>


